package com.classloading;

import static org.openjdk.btrace.core.BTraceUtils.*;
import org.openjdk.btrace.core.annotations.*;

@BTrace
public class TestBTrace {

	/*@OnMethod(clazz = "java.lang.Thread", method = "start")
	public static void func() {
		println("about to start a thread!");
	}*/
	
	
//    static{
//        println("---------------------------JVM properties:---------------------------");
//        printVmArguments();
//        println("---------------------------System properties:------------------------");
//        printProperties();
//        println("---------------------------OS properties:----------------------------");
//        printEnv();
//        exit();
//    }

    @OnMethod(
            clazz = "Calculator",
            method = "add"
    )
    public static void trace1() {
        println("dddd");
    }
}




